# -*- mode: snippet -*-
# name: try/catch
# key: try
# --
try {
  $1
} catch (e, s) {
  print('Exception details:\n $e');
  print('Stack trace:\n $s');
}